﻿using System;
using System.CJL.Domain;
using System.CJL.Infrstructre.Interface;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.CJL.Infrstructre.Impl
{
    public class ProcessRepository:MESRepository<Process>,IProcessRepository
    {
        public ProcessRepository(MESDbContext db) : base(db) 
        {

        }
        public async Task<int> Addasync(Process entity)
        {
            return await base.Addasync(entity);
        }

        public async Task<int> DeleteAsync(int id)
        {
            return await base.DeleteAsync(id);
        }

        public async Task<List<Process>> GetAll()
        {
            return await base.GetAll();
        }

        public async Task<Process> GetMondel(int id)
        {
            return await base.GetMondel(id);
        }

        public async Task<int> UpdateAsync(Process entity)
        {
            return await base.UpdateAsync(entity);
        }
    }
}
